package com.p2p.common.DTO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("借贷页面展示信息")
public class LoanDTO {
    private Long id;
    private String loanNum;
//    @TableField("name")
    private String borrower;
//    @TableField("phone")
    private String phoneNum;
    private String title;
    private Byte guaranteeIns;
    private Byte loanType;
    private BigDecimal loanAmount;
    private BigDecimal annualInterestRate;
    private Byte repaymentMethod;
    private String loanTerm;
    private Timestamp createTime;
    private Byte loanStatus;

}
